package pl.druminski.robinhood.model;

/**
 * @author Łukasz Drumiński
 * 
 */
public class PluginInfo
{
    private String name;
    private Boolean load;
    private int clicks;
    private Age age;
    private int valueOfOneClickInPennies = 0;

    public PluginInfo(String name, Boolean load, int clicks)
    {
        this.name = name;
        this.load = load;
        this.clicks = clicks;
        
    }

    public void setAge(int day, int month, int year)
    {
        age = new Age(day, month, year);
    }

    public Age getAge()
    {
        return age;
    }

    public String getName()
    {
        return name;
    }

    public Boolean load()
    {
        return load;
    }

    public void setLoad(Boolean load)
    {
        this.load = load;
    }

    public int getClicks()
    {
        return clicks;
    }

    public void addClicks(int clicks)
    {
        this.clicks += clicks;
    }

    public int getValueOfOneClickInPennies()
    {
        return valueOfOneClickInPennies;
    }

    public void setValueOfOneClickInPennies(int pennies)
    {
        valueOfOneClickInPennies = pennies;
    }

   
}
